home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Vollversion / CamD / development / fd / camd_lib.fd next >
Text File  |  2000-05-15  |  1KB  |  65 lines

  1. * "camd.library"
  2. ##base _CamdBase
  3. ##bias 30
  4. ##public
  5. *
  6. * --------------------- Locks
  7. *
  8. LockCAMD(locktype)(d0)
  9. UnlockCAMD(lock)(a0)
  10. *
  11. * --------------------- MidiNode
  12. *
  13. CreateMidiA(name,tags)(a0)
  14. DeleteMidi(mi)(a0)
  15. SetMidiAttrsA(mi,tags)(a0/a1)
  16. GetMidiAttrsA(mi,tags)(a0/a1)
  17. NextMidi(mi)(a0)
  18. FindMidi(name)(a1)
  19. FlushMidi(mi)(a0)
  20. *
  21. * --------------------- MidiLink
  22. *
  23. AddMidiLinkA(mi,type,tags)(a0,d0,a1)
  24. RemoveMidiLink(ml)(a0)
  25. SetMidiLinkAttrsA(ml,tags)(a0/a1)
  26. GetMidiLinkAttrsA(ml,tags)(a0/a1)
  27. NextClusterLink(mc,ml,type)(a0/a1,d0)
  28. NextMidiLink(mi,ml,type)(a0/a1,d0)
  29. MidiLinkConnected(ml)(a0)
  30. *
  31. * --------------------- MidiCluster
  32. *
  33. NextCluster(mc)(a0)
  34. FindCluster(name)(a0)
  35. *
  36. * --------------------- Message
  37. *
  38. PutMidi(ml,msgdata)(a0,d0)
  39. GetMidi(mi,msg)(a0/a1)
  40. WaitMidi(mi,msg)(a0/a1)
  41. PutSysEx(ml,buffer)(a0,a1)
  42. GetSysEx(mi,buffer,len)(a0/a1,d0)
  43. QuerySysEx(mi)(a0)
  44. SkipSysEx(mi)(a0)
  45. GetMidiErr(mi)(a0)
  46. MidiMsgType(msg)(a0)
  47. MidiMsgLen(status)(d0)
  48. ParseMidi(ml,buffer,length)(a0/a1,d0)
  49. *
  50. * --------------------- Device
  51. *
  52. OpenMidiDevice(name)(a0)
  53. CloseMidiDevice(mdd)(a0)
  54. *
  55. * --------------------- External functions
  56. *
  57. RethinkCAMD()()
  58. StartClusterNotify(node)(a0)
  59. EndClusterNotify(node)(a0)
  60. ##private
  61. PutMidiNoWait(ml,msg)(a0/a1)
  62. ##public
  63. *
  64. ##end
  65.